package com.ctsi.framework.common.domain;

/**
 * @Auther: zhangjw
 * @Date: 2018/8/11 12:37
 * @Description: domain基类，所有domain应该继承此类
 */
public abstract class BaseEntity implements IBaseEntity {
    private static final long serialVersionUID = 1L;

    protected String id;
    protected Long createTime;
    protected String createBy;
    protected String updateBy;
    protected Long lastUpdateTime;
    protected String dataObjectId;
    protected String tenementId;



    @Override
    public String getId() {
        return id;
    }

    @Override
    public void setId(String id) {
        this.id = id;
    }

    @Override
    public Long getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    @Override
    public Long getLastUpdateTime() {
        return lastUpdateTime;
    }

    @Override
    public void setLastUpdateTime(Long lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }

    @Override
    public String getDataObjectId() {
        return dataObjectId;
    }

    @Override
    public void setDataObjectId(String dataObjectId) {
        this.dataObjectId = dataObjectId;
    }

    @Override
    public String getCreateBy() {
        return createBy;
    }

    @Override
    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    @Override
    public String getUpdateBy() {
        return updateBy;
    }

    @Override
    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    @Override
    public String getTenementId() {
        return this.tenementId;
    }

    @Override
    public void setTenementId(String tenementId) {
        this.tenementId = tenementId;
    }
}
